﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMSdal;
using MMSdal;

namespace MMSdal
{
    public class MMSDAL
    {
        private DBHelper db = DBHelper.GetDBHelper();

            public List<Goodeifo> QueryListByCode(string code);
        {
            string sql ="select * fromGoodsinfo where code like"%"+code"%";
            DbDataReader de = db.DBHelper(sql);
           while(de.read())
        {
            Coodsifnnfo e =new Coodsifnnfo();
           e.company = de["Co,"]
         list.add(e)
        }
   return list;
        }
    }
}
